// This file was automatically generated from typedef.soy.
// Please don't edit this file by hand.


var soy = require('rdoc/templates/soy').soy;


exports.toTypedefDoc = function(opt_data, opt_sb) {
  var output = opt_sb || new soy.StringBuilder();
  output.append('<html><head><title>', opt_data.typeName, ' - Typedef Documentation</title><link href="styles/common.css" rel="stylesheet" type="text/css" /><link href="styles/typedef.css" rel="stylesheet" type="text/css" /></head><body><h1 class="typedef-header">Typedef: <span class="typedef">', opt_data.typeName, '</span></h1>', (opt_data.deprecationReason) ? '<h3 class="type-deprecation-header">Deprecated</h3><div class="type-deprecation-reason">' + opt_data.deprecationReason + '</div>' : '', '<div class="typedef-doc">', opt_data.typedefDoc, '</div><div class="typedef-type">', opt_data.typedefType, '</div>', (opt_data.rev) ? '<hr class="footer" /><div class="rev">revision: ' + opt_data.rev + '</div>' : '', '</body></html>');
  return opt_sb ? '' : output.toString();
};
